package com.example.springbook.service;

import com.example.springbook.bean.Admin;

import java.util.List;

public interface AdminService {
    boolean addAdmin(Admin admin);

    boolean updateAdmin(Admin admin);

    boolean deleteAdmin(int id);

    String findAdminName(int id);

    String selectAdmin(int id);

    List<Admin> findAll();
}
